<?php

class Blog_Action_Admin_Index extends Action_Admin
{

	function execute($request)
	{
		$c = Document::factory('blog') -> collection();

		$items = $c -> find() -> sort(array('timestamp' => -1));

		$request -> response = View::render($script = 'blog/html/admin/index', $data = array('items' => $items));
	}

}
